package com.site.wisdom_construction.entity.iotModule;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.util.Date;

/**
 * @Description  
 * @Author  DYF
 * @Date 2022-03-07 
 */
@ApiModel (value ="高支模报警表实体类", description = "HighSupportsRecord")
public class HighSupportsRecord {
	/**
	 * 高支模报警表id
	 */
   	@ApiModelProperty(value = "高支模报警表id", name = "id")
	private Integer id;

	/**
	 * 项目id
	 */
   	@ApiModelProperty(value = "项目id", name = "projectId")
	private Integer projectId;

	/**
	 * 测点设备ID
	 */
   	@ApiModelProperty(value = "测点设备ID", name = "equipmentId")
	private Integer equipmentId;

	/**
	 * 监测点名称
	 */
   	@ApiModelProperty(value = "监测点名称", name = "measurePoint")
	private String measurePoint;

	/**
	 * 告警值
	 */
   	@ApiModelProperty(value = "告警值", name = "alarmValue")
	private Double alarmValue;

	/**
	 * 告警时间
	 */
   	@ApiModelProperty(value = "告警时间", name = "sendTime")
	@JsonFormat(timezone = "GMT+8", pattern ="yyyy-MM-dd")
	private Date sendTime;

	public HighSupportsRecord(){ super(); }

	public HighSupportsRecord(Integer id, Integer projectId, Integer equipmentId, String measurePoint, Double alarmValue, Date sendTime) {
		this.id = id;
		this.projectId = projectId;
		this.equipmentId = equipmentId;
		this.measurePoint = measurePoint;
		this.alarmValue = alarmValue;
		this.sendTime = sendTime;
	}

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getProjectId() {
		return this.projectId;
	}

	public void setProjectId(Integer projectId) {
		this.projectId = projectId;
	}

	public Integer getEquipmentId() {
		return this.equipmentId;
	}

	public void setEquipmentId(Integer equipmentId) {
		this.equipmentId = equipmentId;
	}

	public String getMeasurePoint() {
		return this.measurePoint;
	}

	public void setMeasurePoint(String measurePoint) {
		this.measurePoint = measurePoint;
	}

	public Double getAlarmValue() {
		return this.alarmValue;
	}

	public void setAlarmValue(Double alarmValue) {
		this.alarmValue = alarmValue;
	}

	public Date getSendTime() {
		return this.sendTime;
	}

	public void setSendTime(Date sendTime) {
		this.sendTime = sendTime;
	}

	@Override
	public String toString() {
		return "{" +
				"id='" + id + '\'' +
				", projectId='" + projectId + '\'' +
				", equipmentId='" + equipmentId + '\'' +
				", measurePoint='" + measurePoint + '\'' +
				", alarmValue='" + alarmValue + '\'' +
				", sendTime='" + sendTime + '\'' +
				'}';
	}
}
